﻿using System;

using Storm.TextEditor.Parser.Objects;

namespace Storm.TextEditor.Editor
{
	/// <summary>
	/// Holds information on generic events containing rows.
	/// </summary>
	public class RowEventArgs
		: EventArgs
	{
		#region Fields

		private Row row = null;

		#endregion

		#region Properties

		/// <summary>
		/// Gets or sets the Row of the RowEventArgs.
		/// </summary>
		public Row Row
		{
			get { return row; }
			set { row = value; }
		}

		#endregion

		/// <summary>
		/// Initializes a new instance of RowEventArgs.
		/// </summary>
		/// <param name="row">Row of the RowEventArgs.</param>
		public RowEventArgs(Row row)
		{
			this.Row = row;
		}
	}
}
